package com.zut.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zut.pojo.Classorder;
import com.zut.pojo.Product;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author product
 * @since 2021-05-31
 */
public interface ProductService extends IService<Product> {
    //增加课程
    boolean addPro(Product product);

    //购买课程
    boolean buyPro(Integer parid,Integer proid);

    //更新课程信息
    boolean updatePro(Product product);

    //删除课程包
    int deletePro(Integer proid);

    //按id查找课程包
    public Product selectProductById(Integer proid);

    //管理⚪模糊查询产品
    public List<Product> seapro(String msg);
}
